package ${daoPack};

import java.util.List;

import ${entityPack}.${className};
   
   /**
    * @ClassName ${className}Dao dao接口类
    * @date ${.now?date} 
    * @author ${author}
    */  


public interface ${className}Dao {
	public int insert${className}(${className} ${instName});
	public int update${className}(${className} ${instName});
	public int delete${className}(int id);
	public ${className} select${className}(int id);
	public ${className} select${className}(List<String> queryKeys,List<Object> queryValues);
	public int selectCount${className}();
	public int selectCount${className}(List<String> queryKeys,List<Object> queryValues);
	public List<${className}> selectLimit${className}(int start,int size);
	public List<${className}> selectLimit${className}(List<String> queryKeys,List<Object> queryValues,int start,int size);
	public List<${className}> selectAll${className}();
	public List<${className}> selectAll${className}(List<String> queryKeys,List<Object> queryValues);
}